package com.school.service;

import com.school.domain.ClassRoom;
import com.school.domain.Course;
import com.school.domain.Grade;
import com.school.domain.Student;

import java.util.List;

public interface StudentService {
    boolean studentLogin(long sid, String pwd);
    boolean update(Student student);
    Student find(long sid);
    List<Course> findCourses(long sid);
    List<Grade> findGrand(long sid);
    boolean choseCourse(long sid, long coid);
    boolean choseClassRoom(Student student, long rid);
    List<Course> findAllCourses();
    ClassRoom findClassRoom(long rid);
    List<Student> findClassMates(long clid);


}
